import os

binary_file='/home/passwd123/XiaoweiGuo/node_modules/uglify-js/bin/uglifyjs'

def obfuscate(in_file,out_file):
    os.system(f'{binary_file} {in_file} -c -m -o {out_file}')

if __name__=="__main__":
    test_file='temp/jStap_test/good/good.js'
    out_file='temp/jStap_test/ugly_good.js'
    
    obfuscate(test_file,out_file)